package com.ld.control.business.task.vo.resp;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ld.control.business.process.vo.resp.ProcessTmpRespVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 任务模板表
 * </p>
 *
 * @author wangfeng
 * @since 2024-05-09
 */
@Data
@TableName("task_tmp")
@Schema(description = "TaskTmpModel对象")
public class TaskTmpRespVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "任务模板编号")
    private String code;

    @Schema(description = "任务模板名称")
    private String name;

    @Schema(description = "支持的样品数量，如果样品数超过了支持的样品数，则会分成多个子任务")
    private Integer sampleSize;

    @Schema(description = "关联任务的流程模板模板")
    private List<ProcessTmpRespVo> processTmpRespVoList;

    @Schema(description = "创建时间")
    private Date createTime;
}
